<html>
<head><meta charset="utf-8"><title>How are debuginfo tests run? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20are.20debuginfo.20tests.20run.3F.html">How are debuginfo tests run?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213757363"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20are%20debuginfo%20tests%20run%3F/near/213757363" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20are.20debuginfo.20tests.20run.3F.html#213757363">(Oct 19 2020 at 08:48)</a>:</h4>
<p>I'm trying to understand how are debuginfo tests run (which llvm tools called, with what arguments etc.). I found the test declaration here <a href="https://github.com/rust-lang/rust/blob/03687f8ffaf5ff03f6bedbe77752b9f930c7efeb/src/bootstrap/test.rs#L928">https://github.com/rust-lang/rust/blob/03687f8ffaf5ff03f6bedbe77752b9f930c7efeb/src/bootstrap/test.rs#L928</a> but I can't follow the code from there to find this. Any help?</p>



<a name="213776147"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20are%20debuginfo%20tests%20run%3F/near/213776147" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20are.20debuginfo.20tests.20run.3F.html#213776147">(Oct 19 2020 at 12:16)</a>:</h4>
<p><span class="user-mention" data-user-id="119169">@osa1</span> try looking in <code>src/tools/compiletest</code></p>



<a name="213776169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20are%20debuginfo%20tests%20run%3F/near/213776169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20are.20debuginfo.20tests.20run.3F.html#213776169">(Oct 19 2020 at 12:16)</a>:</h4>
<p>This is just running compiletest with some arguments, it doesn't have the main logic</p>



<a name="213776194"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20are%20debuginfo%20tests%20run%3F/near/213776194" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20are.20debuginfo.20tests.20run.3F.html#213776194">(Oct 19 2020 at 12:17)</a>:</h4>
<p>Perfect, thank you. I'm looking at it right now.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>